<ul id="pagination" class="pagination clearfix">
    <li class="prev"><a href="javascript:void(0);" data-p="1">上一页</a></li>
    <li class="real"><a href="javascript:void(0);" data-p="1" data-total="">第1页
        <!--<img src="/assets/img/ico-data/page.png">-->
    </a></li>
    <ol class="pages">
        {{#each array}}
            <li class="page"><a href="javascript:void(0);" class="page-a" data-p="{{this}}">第{{this}}页</a></li>
        {{/each}}
    </ol>
    <li class="next"><a href="javascript:void(0);" data-p="2">下一页</a></li>
</ul>